import fly from "../main"

//获取pid为0的地址，也就是全部省级地址
export function getArea() {
  return fly.get('/v3/address/0')
}

//根据地址id获取下级地址
export function getChildArea($param) {
  let $data = {"pid": $param}
  return fly.get('/v3/address/'+$data)
}

